﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WX.WMS.DataModel;
using WX.WMS.Common;

namespace WX.WMS.BLL
{
    public class AuthorityBLL:BaseBLL
    {
        private BaseDAO DAO=null;
        public AuthorityBLL()
        {
            DAO = new BaseDAO();
        }
        public IEnumerable<T_RoleAuthority> GetRoleAuthorityList()
        {
            return DAO.T_RoleAuthorities.ToList();
            
        }

        public IEnumerable<T_Authority> GetAuthorityList()
        {
            return DAO.T_Authorities.ToList();

        }
    }
}
